package com.jr.service.impl;

import com.jr.entity.Uptable;
import com.jr.mapper.UptableMapper;
import com.jr.service.UptableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class UptableServiceImpl implements UptableService {
    @Autowired
    private UptableMapper uptableMapper;

    @Override
    public ArrayList<Uptable> findbyuids(Uptable uptable) {
        return uptableMapper.findbyuid(uptable);
    }

    @Override
    public boolean addups(Uptable uptable) {
        return uptableMapper.addup(uptable)>0;
    }

    @Override
    public ArrayList<Uptable> myapplyjobs(Uptable uptable) {
        return uptableMapper.myapplyjob(uptable);
    }
}
